package com.woniuxy01;

import java.util.Scanner;

/**
 * @author 作者
 * @create 2025-10-23 9:50
 */
public class Test05 {
    public static void main(String[] args) {
        Scanner scanner=new Scanner(System.in);
        System.out.println("输入数字1-7");
        int num=scanner.nextInt();
        switch(num){
            case 1:
                System.out.println("星期一");
                break;
            case 2:
                System.out.println("星期2");
                break;
            case 3:
                System.out.println("星期3");
                break;
            default:
                System.out.println("输入错误");
                break;
        }
    }
}
